<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Mocha Tests</title>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.2.0/mocha.css" rel="stylesheet" />
</head>
<body>
  <header>
    <a href="/">Home</a>
  </header>

  <main>
    <div id="mocha"></div>
  </main>

  <footer>
    <script src="/js/jquery-3.3.1.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.2.0/mocha.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.1.2/chai.js"></script>

    <script>mocha.setup('bdd')</script>
    <!-- add library scripts, then test scripts here -->
    <script src="/js/web3.min.js"></script>
    <script src="/js/truffle-contract.js"></script>
    <script src="/js/ui.js"></script>
    <script src="/js/app.js"></script>
    <script src="/js/server-actions.js"></script>
    <!-- add test scripts -->
    <script src="/js/browser.test.js"></script>
    <script>
      mocha.checkLeaks()
      mocha.globals(['jQuery', 'web3'])
      mocha.run()
    </script>
  </footer>
</body>
</html>
